package com.tanhua.sso.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Slf4j
@Builder
public class Title {
    private long id;
    private String title;
    private Date created;

    public static void main(String[] args) {
        Title title = new Title();
        title.setTitle("4545sadffdsf刚");
        title.setId(545454);
        title.setCreated(new Date());
        log.info(title.toString());
        System.out.println(Title.builder().id(222).created(new Date()).title("的傻了").build());
    }
}
